:root {
    --primary-gradient: linear-gradient(135deg, #6caf79 0%, #698fcb 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    background: #f8fafc;
}

.container {
    max-width: 100%;
    margin:  auto;
    /*padding: 1 2rem;*/
    width: 1800px;

}

.gradient-header {
    background: var(--primary-gradient);
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    z-index: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px var(--shadow-color);
    padding-top: 17px;
    padding-bottom: 17px;
    cursor: pointer;
    font-weight: 600;
}
.button-other{
    position: absolute;
    top: 920px; /* 根据需要调整向上移动的距离 */
    left: 54%; /* 可根据实际情况调整水平位置 */
    transform: translateX(-50%); /* 水平居中 */
    background: rgb(255, 255, 255);
    border: none;
    font-size: 17px;
    color: #0e70ee;
    font-family: 宋;
    transition: font-size 0.3s ease;
}
.button-other:hover{
    font-size: 20.4px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.company-logo {
    width: 120px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
}

.company-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-btn {
    background: rgba(255,255,255,0.9);
    color: #3B82F6;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

.carousel {
    position: relative;
    overflow: hidden;
    height: 700px;
    margin-top: 74px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-item {
    flex: 0 0 100%;
    position: relative;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 8rem;
}

.carousel-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.8s forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10;
}

.carousel-btn i {
    color: white;
    font-size: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 2rem; }
.carousel-btn.next { right: 2rem; }

.services {
    padding: 6rem 0;
    background: white;
}

.services-title {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s ease infinite;
    width: 1800px;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5 , 0fr);
    gap: 1rem;
    margin-bottom: 4rem;
    width: 1765px;
    margin-left: auto;
    margin-right: auto;

}


.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    padding-left: 10px;
    padding-right: 10px;
    width: 340px;
}
/*公司名称鼠标悬浮*/
/*.service-card:hover {*/
/*  transform: translateY(-10px) rotateX(10deg);*/
/*  box-shadow: 0 20px 40px rgba(0,0,0,0.15);*/
/*}*/

.service-icon {
    width: 4rem;
    height: 4rem;
    background: #ebf0fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}
/*公司图标鼠标悬浮*/
/*.service-card:hover .service-icon {*/
/*  transform: scale(1.1) translateZ(20px);*/
/*}*/

.service-icon i {
    color: #4d7fec;
    font-size: 2rem;
}

.service-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

.products-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 1765px;
    height:300px;
}

.products-carousel-inner {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-carousel-item {
    flex: 0 0 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: none;
}

.products-carousel-item.active {
    opacity: 100;
    display: block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
}

.products-carousel-indicators {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    margin-top: 2rem;
}

.products-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.products-carousel-indicator.active {
    background: var(--text-primary);
    transform: scale(1.2);
}

.products-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.products-carousel-btn i {
    color: var(--text-primary);
    font-size: 1.5rem;
}

.products-carousel-btn:hover {
    background: rgba(0,0,0,0.1);
    transform: translateY(-50%) scale(1.1);
}

.products-carousel-btn.prev { left: 5px; }
.products-carousel-btn.next { right: 5px; }

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .products-carousel-btn {
        display: none;
    }
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

/*.product-card:hover {*/
/*  transform: translateY(-10px);*/
/*  box-shadow: 0 20px 40px rgba(0,0,0,0.2);*/
/*}*/

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 2rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer {
    background: #1a202c;
    color: white;
    padding: 4rem 0;
    margin-top: auto;
    padding-top: 32px;
    padding-bottom: 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding-left: 60px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    background: var(--primary-gradient);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-list i {
    color: white;
}

.footer-list a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4299e1;
    transition: width 0.3s ease;
}

.footer-list a:hover {
    color: white;
}

.footer-list a:hover::after {
    width: 100%;
}

.copyright {
    color: #718096;
    width: 450px;
    margin-top: 0px;
}
.pdf-button {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #0e70ee;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: background-color0.3s ease;
    opacity: 0.8;
    font-family: sans-serif;
    font-weight: 600;
}
.pdf-button:hover {
    opacity: 1;
}
.pdf-button-a {
    transition: background-color0.3s ease,transform 0.3s ease;
    border-radius: 5px;
}
.pdf-button-a:hover {
    background-color: #6574cd;
    transform: scale(1.1);
}



@media (max-width: 1024px) {
    .services-grid,
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .company-title {
        font-size: 1.2rem;
    }
    .carousel {
        height: 500px;
    }
    .carousel-title {
        font-size: 3rem;
    }
    .services-title {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;

    }
}

@media (max-width: 640px) {
    .services-grid,
    .products {
        grid-template-columns: 1fr;
    }
    .carousel-overlay {
        padding: 0 2rem;
    }
    .carousel-title {
        font-size: 2rem;
    }
    .service-card:hover {
        transform: translateY(-5px);
    }

}